package campshop.models;

import java.util.Date;

//所有的交易信息
public class TradeInfo extends ModelBase{

	private static final long serialVersionUID = 6362639659936264265L;
	
	private Long uId;
	private Long uUserId;
	private Long uOrderId;
	private Date dCreateDate;
	private Long uGoodsId;
	private Long uGoodsNum;
	private float fMoney;//交易金额
	
	public void destroy()
	{
		super.setId(0);
		this.setuId(null);
		this.setuUserId(null);
		this.setuOrderId(null);
		this.setdCreateDate(null);
		this.setuGoodsId(null);
		this.setuGoodsNum(null);
		this.setfMoney(0.0f);
	}

	public Long getuId() {
		return uId;
	}

	public void setuId(Long uId) {
		this.uId = uId;
	}

	public Long getuUserId() {
		return uUserId;
	}

	public void setuUserId(Long uUserId) {
		this.uUserId = uUserId;
	}

	public Long getuOrderId() {
		return uOrderId;
	}

	public void setuOrderId(Long uOrderId) {
		this.uOrderId = uOrderId;
	}

	public Date getdCreateDate() {
		return dCreateDate;
	}

	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	public Long getuGoodsId() {
		return uGoodsId;
	}

	public void setuGoodsId(Long uGoodsId) {
		this.uGoodsId = uGoodsId;
	}

	public Long getuGoodsNum() {
		return uGoodsNum;
	}

	public void setuGoodsNum(Long uGoodsNum) {
		this.uGoodsNum = uGoodsNum;
	}

	public float getfMoney() {
		return fMoney;
	}

	public void setfMoney(float fMoney) {
		this.fMoney = fMoney;
	}
}
